package com.example.verifysdk;

import com.google.gson.JsonElement;

import java.util.List;

/**
 * Created by Administrator on 2017/4/25.
 */

public class BaseJson {


    /**
     * status : true
     * code : 201
     * error : http://192.168.0.178:8080/skynet/web/file/7203be00-29a5-11e7-a172-9ddb602638ac
     * obj : null
     * list : []
     */

    private boolean status;
    private int code;
    private String error;
    private JsonElement obj;
    private List<?> list;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public JsonElement getObj() {
        return obj;
    }

    public void setObj(JsonElement obj) {
        this.obj = obj;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }
}
